package cn.edu.lingnan.entity;


import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * 提交表
 */
@TableName("commit_tab")
public class Commit {
    private Long id;  //主键
    private String teamId;  //队伍编号
    private String prizeType;  //获奖类型
    private Date prizeTime;  //获奖时间
    private String prizeDescription;  //获奖描述

    public Commit() {
    }

    public Commit(Long id, String teamId, String prizeType, Date prizeTime, String prizeDescription) {
        this.id = id;
        this.teamId = teamId;
        this.prizeType = prizeType;
        this.prizeTime = prizeTime;
        this.prizeDescription = prizeDescription;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTeamId() {
        return teamId;
    }

    public void setTeamId(String teamId) {
        this.teamId = teamId;
    }

    public String getPrizeType() {
        return prizeType;
    }

    public void setPrizeType(String prizeType) {
        this.prizeType = prizeType;
    }

    public Date getPrizeTime() {
        return prizeTime;
    }

    public void setPrizeTime(Date prizeTime) {
        this.prizeTime = prizeTime;
    }

    public String getPrizeDescription() {
        return prizeDescription;
    }

    public void setPrizeDescription(String prizeDescription) {
        this.prizeDescription = prizeDescription;
    }

    @Override
    public String toString() {
        return "Commit{" +
                "id=" + id +
                ", teamId='" + teamId + '\'' +
                ", prizeType='" + prizeType + '\'' +
                ", prizeTime=" + prizeTime +
                ", prizeDescription='" + prizeDescription + '\'' +
                '}';
    }
}
